<template>
  <div class="top">
    <div class="top-con">
      <div class="link">
        <a href="/home">访问一诺万金主站</a>
      </div>
      <div>
        <span>7x24小时服务热线：400-8166-279</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Top",

}
</script>

<style lang="scss" scoped>

  // 正常样式
  .top {
    height: 4rem;
    background-color: #f7f7f7;
    .top-con {
      width: 62.5%;
      height: 100%;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      .link {
        a {
          font-size: 1.4rem;
        }
      };
      span {
        font-size: 1.4rem;
      }
    };
  }

  // 移动端
  @media screen and (max-width: 375px) {
    .top {
      width: 100%;
      .top-con {
        width: 100%;
        padding:0 0.8rem;
        .link {
          a {
            font-size: 1.2rem;
          }
        };
        span {
          font-size: 1.2rem;
        }
      }
    }
  }
</style>